import java.io.*;

/*
 * @author zzr
 * @date: 2025/04/21  11:16
 * @description:
 */
public class IO4 {
    public static void main(String[] args) throws IOException {
        try (InputStream inputStream = new FileInputStream("./test.txt")) {

            while (true) {
                int n = inputStream.read();
                if (-1 == n) {
                    break;
                }
                System.out.printf("%x ",n);
            }
        }
    }
}
